package com.wicket.okrapp.integration.dto;
import com.wicket.okrapp.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

import lombok.Data;
import java.util.Objects;
    
    
    /**
     * @desc TargetObjDutyBodyDto
     * @使用场景
     */
    @Data
    public class TargetObjDutyBodyDto extends BaseDto  implements Serializable {
      
    /**
     * 指标ID 
     */
    @ApiModelProperty("指标ID")
    private String	 objectiveId;

    /**
     * 指标标识 
     */
    @ApiModelProperty("指标标识")
    private String	 objectiveCode;

    /**
     * 指标简称 
     */
    @ApiModelProperty("指标简称")
    private String	 objectiveShortName;

    /**
     * 层级 
     */
    @ApiModelProperty("层级")
    private Long	 levelNumber;

    /**
     * 排序 
     */
    @ApiModelProperty("排序")
    private Long	 orderNumber;

    /**
     * 虚拟组织下部门ID 
     */
    @ApiModelProperty("虚拟组织下部门ID")
    private String	 deptId;

    /**
     * 虚拟组织成员就职记录ID 
     */
    @ApiModelProperty("虚拟组织成员就职记录ID")
    private String	 virtualOrgInductionRecordId;
/**
     * 责任主体类型 PERSONAL:个人 DEPT:部门
     */
    @ApiModelProperty("责任主体类型")
    private String	 respBodyType;
/**
     * 指标扩展规划设置ID 
     */
    @ApiModelProperty("指标扩展规划设置ID")
    private String	 objectivePlanningExtendId;

    /**
     * 批次下更新状态 NEW:本次新增 UNCHANGED:正常未变 REVISION:本次修订 ARCHIVE:本次存档
     */
    @ApiModelProperty("批次下更新状态")
    private String	 updateStatus;

    /**
     * 主体生命周期 CURRENTLY_VALID:当前有效 EDITING:正在编辑 ARCHIVING:历史存档
     */
    @ApiModelProperty("主体生命周期")
    private String	 subjectLifeCycle;

    /**
     * 存档类型 NOT_ARCHIVE:未归档 TOBE_ARCHIVING:想归档 ARCHIVED:已归档
     */
    @ApiModelProperty("存档类型")
    private String	 archivngType;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      TargetObjDutyBodyDto that = (TargetObjDutyBodyDto) o;
      return  objectiveId == that.objectiveId&&objectiveCode == that.objectiveCode&&objectiveShortName == that.objectiveShortName&&levelNumber == that.levelNumber&&orderNumber == that.orderNumber&&deptId == that.deptId&&virtualOrgInductionRecordId == that.virtualOrgInductionRecordId&&respBodyType == that.respBodyType&&objectivePlanningExtendId == that.objectivePlanningExtendId&&updateStatus == that.updateStatus&&subjectLifeCycle == that.subjectLifeCycle&&archivngType == that.archivngType;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), objectiveId,objectiveCode,objectiveShortName,levelNumber,orderNumber,deptId,virtualOrgInductionRecordId,respBodyType,objectivePlanningExtendId,updateStatus,subjectLifeCycle,archivngType);
    }
    
      

    }
   